home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / complib / cladiv.z / cladiv
Encoding:
Text File  |  1998-10-30  |  922 b   |  67 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAADDDDIIIIVVVV((((3333FFFF))))                                                          CCCCLLLLAAAADDDDIIIIVVVV((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLADIV - := X / Y, where X and Y are complex
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      COMPLEX FUNCTION CLADIV( X, Y )
  13.  
  14.          COMPLEX      X, Y
  15.  
  16. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  17.      CLADIV := X / Y, where X and Y are complex.  The computation of X / Y
  18.      will not overflow on an intermediary step unless the results overflows.
  19.  
  20.  
  21. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  22.      X       (input) COMPLEX
  23.              Y       (input) COMPLEX The complex scalars X and Y.
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.